class MigrateUpdateMyAccountRemoval < ActiveRecord::Migration
  class << self
    def up
      sm = SystemMethod.find(:first, :conditions => "name = 'manage/users/update_my_account'")
      sm.destroy
    end

    def down
      sobj = SystemObject.find(:first, :conditions => "name = 'Common User Access'")
      sm = SystemMethod.create(:name => 'manage/users/update_my_account',:system_object_id => sobj.id)
    end
  end
end
